package helixoide;
import java.util.Scanner;
import helixoide.otherMain;

public class Main 
{
	private static final String version =	"Helixoide Secondlife to IRC Server System\nVersion 1.5 Beta 5\n Created bv Ross Delinger";
	public static void main(String[] args)
	{
		System.out.println(version);
		Config serverConfig = new Config("slirc.conf");
		otherMain initial = new otherMain(serverConfig);
		
		initial.init();
		Scanner scan = new Scanner(System.in);
		String in = "";
		String nick, host, realname, user, channel;
		while((in = scan.nextLine()) != null)
		{
			if(in.equals("exit"))
			{
				initial.die();
				break;
			}
			
			else
			{
				initial.sendRaw(in);
			}
		}
		
		
	}
	
}
